<?php
/**
 * Section Model of the database
 * @author: Ueli Kramer <ueli.kramer@gmail.com>
 */

class Section extends Eloquent
{

    public static $table = 'section';

    public function groups()
    {
        return $this->has_many_and_belongs_to('Group', 'access');
    }

}